package com.ddrj.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ddrj.entity.DiaryEntity;
import com.ddrj.mapper.DiaryMapper;
import com.ddrj.service.DiaryService;

@Service("DiaryService")
public class DiaryServiceImpl extends ServiceImpl<DiaryMapper, DiaryEntity> implements DiaryService{
	
	@Autowired
	DiaryMapper diaryMapper;

	@Override
	public List<DiaryEntity> recomDiaryLlist() {
		return diaryMapper.recomDiaryLlist();
	}

	@Override
	public List<DiaryEntity> newDiaryLlist() {
		return diaryMapper.newDiaryLlist();
	}
	
	

}
